<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>功能菜单</title>
		<link rel="StyleSheet" href="./js/dtree/dtree.css" type="text/css" />
		<script type="text/javascript" src="./js/dtree/dtree.js"></script>
		<style type="text/css">
			.tree_css {
				background: url(images/bg_sample_tree.gif) repeat-x bottom;
				border-style:solid;
				border-width:0.1px;
			}
		</style>
		<script type="text/javascript">
			function openUrl(url){
				window.parent.document.getElementById("mainframe").src=url;
			}
		</script>
	</head>
	<body style="background: url(images/bg_sample_tree.gif) repeat-x bottom;">
		<form name="form1" action="" method="post">
			<table id="table2" style="border-collapse: collapse"
				borderColor="#c0c0c0" cellSpacing="0" cellPadding="0" width="100%"
				border="0">
				<tr>
					<td width="100%" valign="top">
						<div class="dtree" style="overflow: auto; height: 300px;">
							<script type="text/javascript" language="javascript">						
								var d = new dTree('d', './js/dtree');			
								d.add('0',-1,'根节点');	
								d.add('1','0','工作信息管理',"javascript:void(0)");
								d.add('1_1','1','工作信息查询',"javascript:openUrl('showAllOrders.html')");
								d.add('2','0','模特信息管理',"javascript:void(0)");
								d.add('2_1','2','模特姓名管理',"javascript:openUrl('showNames.html')");
								document.write(d);
							</script>
						</div>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
